package com.handpay.nocardpay.baselibrary.permission;

import android.content.Intent;

import com.handpay.nocardpay.baselibrary.account.view.fragment.NoCardLoginFragment;

/**
 * Created by sxshi on 2017/8/11.
 */

public class PermissionCode {
    /**
     * 默认 获取ActivityForResult requestCode 值
     * 具体参考{@link NoCardLoginFragment#onActivityResult(int, int, Intent)}
     */
    public static final int REQUEST_CODE_SETTING = 300;
    /**
     * 默认所有的权限请求都用这个code
     * 封装实现{@link PermissionRequest#requestPermission(String[]...)}
     */
    public static final int DEFAULT_PERMISSION_CODE = 1007;
    /**
     * 百度地图
     */
    public static final int LOCATION_PERMISSION_CODE = 1008;
    /**
     * 相机权限
     */
    public static final int CAMERA_PERMISSION_CODE = 1009;
}
